import request from "@/utils/request";



// 站点活动列表
export function orderactivityList (params = {}) {
  return request({
    url: 'orderactivity/list',
    method: 'get',
    params
  })
}

// 活动详情
export function orderactivityInfo (params = {}) {
  return request({
    url: 'orderactivity/info',
    method: 'get',
    params
  })
}

// 新增活动
export function orderactivityAdd (data = {}) {
  return request({
    url: 'orderactivity/add',
    method: 'post',
    data,
    isJSON: false
  })
}

// 修改活动
export function orderactivityEdit (data = {}) {
  return request({
    url: 'orderactivity/edit',
    method: 'post',
    data,
    isJSON: false
  })
}

//修改活动员工
export function orderactivityEditservicer (data = {}) {
  return request({
    url: 'orderactivity/editservicer',
    method: 'post',
    data,
    isJSON: false
  })
}


//修改活动老人
export function orderactivityEditolder (data = {}) {
  return request({
    url: 'orderactivity/editolder',
    method: 'post',
    data,
    isJSON: false
  })
}


//删除活动
export function orderactivityDelete (params = {}) {
  return request({
    url: 'orderactivity/delete',
    method: 'get',
    params
  })
}
